<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>内容首页</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">	
	<meta name="apple-mobile-web-app-status-bar-style" content="black">	
	<meta name="apple-mobile-web-app-capable" content="yes">	
	<meta name="format-detection" content="telephone=no">	
	<!-- load css -->
	<link rel="stylesheet" type="text/css" href="/Public/admin/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="/Public/admin/global.css" media="all">
	<link rel="stylesheet" type="text/css" href="/Public/admin/css/adminstyle.css" media="all">
</head>
<body>
<ul id="demo"></ul>
<!-- 加载js文件-->
<script type="text/javascript" src="/Public/admin/layui/layui.js"></script> 
<script type="text/javascript" src="/Public/admin/js/larry.js"></script>
<script type="text/javascript" src="/Public/admin/js/index.js"></script>
<div class="layui-body" id="larry-body" style="bottom: 0;border-left: solid 2px #1AA094; height: 100%">
	<div class="layui-tab-content" style="height: 100%; ">
		<div class="layui-tab-item layui-show" style="height: 100%; ">
			<iframe class="larry-iframe" name='view_frame' src="/admin/index/main"></iframe>
		</div>
	</div>
</div>
</body>
<script type="text/javascript">
layui.use('tree', function(){
	layui.tree({
	  	elem: '#demo'
	  	,target: 'view_frame'
	 	,nodes:<?php echo ($tree); ?>
		,click: function(node){
		}
	});
});
</script>
</html>